package com.guoguo.utils;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;

/**
 * Created by li on 2017/6/8.
 */
public class ListUtils {

    /**
     * 对list里的字符串去重
     * @param object
     * @return
     */
    public static List<String> dereplication(List<String> object) {
        List<String> list = new ArrayList<String>(new HashSet<String>(object));
        return list;
    }
}
